﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Runtime.Serialization;
using System.Text;

namespace Model
{
    [DataContract]
    public class TaxiInfo
    {

        /// <summary>
        /// ID
        /// </summary>
        [DataMember]
        public int Id { get; set; }

        /// <summary>
        /// the car GPS informationg-- Longitude
        /// </summary>
        [DataMember]
        public double Longitude { get; set; }

        /// <summary>
        /// the car GPS informationg-- Latitude
        /// </summary>
        [DataMember]
        public double Latitude { get; set; }

        /// <summary>
        ///  Driver Phone Number 
        /// </summary>
        [DataMember]
        public string PhoneNumber { get; set; }
         

        /// <summary>
        ///  TaxiState  0---empty 1---carry passengers 2--make an appointment 3-- give an alarm 4----change shifts
        /// </summary>
        [DataMember]
        public string State { get; set; }

        /// <summary>
        ///  Taxi IpAddress 
        /// </summary>
        [DataMember]
        public IPAddress Ip { get; set; }

        /// <summary>
        ///  Taxi IpAddress 
        /// </summary>.
        [DataMember]
        public string TaxiNo { get; set; }
 
        [DataMember]
        public string TaxiType { get; set; }

        /// <summary>
        ///  Taxi Infomation  UpdateTime
        /// </summary>
        [DataMember]
        public DateTime UpdateTime { get; set; }

         
        [DataMember]
        public string Remark { get; set; }

      
        [DataMember]
        public string Version { get; set; }

        [DataMember]
        public short Angle { get; set; }

        [DataMember]
        public byte Speed { get; set; }
         
        [DataMember]
        public string Signature { get; set; }

        [DataMember]
        public int CompanyId { get; set; }

        [DataMember]
        public string CompanyName { get; set; }

        [DataMember]
        public string Imei { get; set; }

        [DataMember]
        public string DriverName { get; set; }

        [DataMember]
        public string DriverCardId { get; set; }

        [DataMember]
        public string DriverPhoneNumber { get; set; }
    }
}
